<template>
  <div class="container">
    <!-- 第一个DOM元素会优先加载渲染 -->
    <div class="center">我是中间</div>
    <div class="left">我是左边</div>
    <div class="right">我是右边</div>
  </div>
</template>

<style scoped>
.container {
  padding-left: 200px;
  padding-right: 150px;
  overflow: hidden;
}
.container div {
  float: left;
}
.center {
  width: 100%;
  background-color: pink;
}
.left {
  width: 200px;
  position: relative;
  left: -200px;
  margin-left: -100%;
  background-color: deeppink;
}
.right {
  width: 200px;
  margin-right: -200px;
  background-color: hotpink;
}
</style>
